package com.runen.wnhz.runen.bean;

import java.util.List;

public class CanDownloadLessonBean {


    /**
     * re : 1
     * info : 获取成功
     * data : [{"title":"测试2","next_list":[{"nid":"1","name":"测试的","durl":[{"tv_url":"http://runen.unohacha.com/Uploads/video/20180419/C15241435011671.mp4"}],"lid":"23","title_id":"1"}]},{"title":"测试3","next_list":[{"nid":"1","name":"ad","durl":[{"tv_url":"VU5PaHR0cDovL3J1bmVuLnVub2hhY2hhLmNvbS9VcGxvYWRzL3ZpZGVvLzIwMTgwODA2L0MxNTMzNTM1OTY3OTYzOC5tcDRIQUNIQQ=="}],"lid":"23","title_id":"2"}]}]
     */

    private String re;
    private String info;
    private List<DataBean> data;

    public String getRe() {
        return re;
    }

    public void setRe(String re) {
        this.re = re;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "CanDownloadLessonBean{" +
                "re='" + re + '\'' +
                ", info='" + info + '\'' +
                ", data=" + data +
                '}';
    }

    public static class DataBean {
        /**
         * title : 测试2
         * next_list : [{"nid":"1","name":"测试的","durl":[{"tv_url":"http://runen.unohacha.com/Uploads/video/20180419/C15241435011671.mp4"}],"lid":"23","title_id":"1"}]
         */

        private String title;
        private List<NextListBean> next_list;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<NextListBean> getNext_list() {
            return next_list;
        }

        public void setNext_list(List<NextListBean> next_list) {
            this.next_list = next_list;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "title='" + title + '\'' +
                    ", next_list=" + next_list +
                    '}';
        }

        public static class NextListBean {
            /**
             * nid : 1
             * name : 测试的
             * durl : [{"tv_url":"http://runen.unohacha.com/Uploads/video/20180419/C15241435011671.mp4"}]
             * lid : 23
             * title_id : 1
             */

            private String nid;
            private String name;
            private String lid;
            private String title_id;
            private boolean isChecked = false;
            private List<DurlBean> durl;

            public void setChecked(boolean checked) {
                isChecked = checked;
            }

            public boolean isChecked() {
                return isChecked;
            }

            public String getNid() {
                return nid;
            }

            public void setNid(String nid) {
                this.nid = nid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getLid() {
                return lid;
            }

            public void setLid(String lid) {
                this.lid = lid;
            }

            public String getTitle_id() {
                return title_id;
            }

            public void setTitle_id(String title_id) {
                this.title_id = title_id;
            }

            public List<DurlBean> getDurl() {
                return durl;
            }

            public void setDurl(List<DurlBean> durl) {
                this.durl = durl;
            }

            @Override
            public String toString() {
                return "NextListBean{" +
                        "nid='" + nid + '\'' +
                        ", name='" + name + '\'' +
                        ", lid='" + lid + '\'' +
                        ", title_id='" + title_id + '\'' +
                        ", isChecked=" + isChecked +
                        ", durl=" + durl +
                        '}';
            }

            public static class DurlBean {
                /**
                 * tv_url : http://runen.unohacha.com/Uploads/video/20180419/C15241435011671.mp4
                 */

                private String tv_url;

                public String getTv_url() {
                    return tv_url;
                }

                public void setTv_url(String tv_url) {
                    this.tv_url = tv_url;
                }

                @Override
                public String toString() {
                    return "DurlBean{" +
                            "tv_url='" + tv_url + '\'' +
                            '}';
                }
            }
        }


    }
}
